project(test)
cmake_minimum_required(VERSION 2.8)

find_package(OpenCV REQUIRED)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -pthread")

add_executable(test test.cpp)
target_link_libraries(test
        ${OpenCV_LIBS}
        )



